package com.anolesoft.secondaryCostAccounting.service;

import com.anolesoft.secondaryCostAccounting.dto.*;
import com.anolesoft.secondaryCostAccounting.util.SqlserverData;
import com.anolesoft.yr.util.PageData;

import java.util.List;


public interface MatchService {
    //查询
    PageData<List<MatchDO>> queryMatchInfo(MatchConditionDTO matchConditionDTO, boolean isExport);
    //根据匹配字段获取二级成本核算数据
    SqlserverData matchSCA(MatchInfoDTO matchInfoDTO);
    //获取匹配数据数量
    int matchNum(MatchInfoDTO matchInfoDTO, boolean likeGuiGe, boolean likeDanWei);
    //按主键获取二级成本核算数据
    //SCAccountingDTO matchSCAById(String objuid);
    //將匹配数据插入对应行内
    //int updateMatch(List<SCAccountingDTO> scAccountingDTOS);
    String updateMatch(List<SCAccountingDTO> scAccountingDTOS, String total, EmployeeFromSCADTO employee);
    //导出数据总条数
    int countExport(MatchConditionDTO matchConditionDTO);
    //查询二级成本核算数据
    //List<SCAccountingDTO> match(MatchInfoDTO matchInfoDTO, int num, boolean likeGuiGe, boolean likeDanWei);
    List<SCAccountingDTO> match(MatchInfoDTO matchInfoDTO, boolean likeGuiGe);
    //打印查询
    List<MesAccountMatchPrintDTO> queryPrint(String objuidList);
    //查询二级成本核算工段班组信息
    EmployeeFromSCADTO employee(String eid);
}

